package common.jsondata.impl;

import java.io.Serializable;

public class ResponseMessage implements Serializable {
	private static final long serialVersionUID = 1L;
	private Object data;//数据
	private String message;//信息
	private Integer code;//代码：如200、400、404
	
	public ResponseMessage(Object data, String message, Integer code) {
		super();
		this.data = data;
		this.message = message;
		this.code = code;
	}
	
	public ResponseMessage() { super(); }
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}